package basic.JVM;

/**
 * @创建人 MBY381
 * @创建时间 2022/4/26 20:32
 * @描述 暂无
 */
public class ClassLoaderTest {
    public static void main(String[] args) {


        System.out.println(MyTest.string);
//        Thread t1=new Thread(()->{
//            System.out.println("?");
//        });
//        t1.start();

    }
    static class MyTest{
        static {
            System.out.println("类加载后会运行！");
        }
        private static String string="wdnmd";
        private static final String str="final";
    }

}
